package model;


public class Die {
	private int facevalue;
	
	public Die(){
		roll();
	}
	
	public void roll(){
		facevalue = (int) (Math.random()*6+1);
//		this.facevalue = Input.getInt("Set facevalue");
	}

	public int getFacevalue() {
		return this.facevalue;
	}

	@Override
	public String toString() {
		return "Die [facevalue=" + this.facevalue + "]";
	}
}